<ul>
    {% for tag in image.tags %}
        <li><span class="label label-info" style="float: left;display: block; margin: 2px;">{{ tag }}</span></li>
    {% endfor %}
</ul>